package com.thc.service.impl;

import com.thc.domin.Ticket;
import com.thc.domin.User;
import com.thc.mapper.MovieMapper;
import com.thc.service.IMovieService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class MovieServiceImpl implements IMovieService {

    @Autowired
    private MovieMapper movieMapper;

    @Override
    public Ticket findById(Long id) {
        return movieMapper.findById(id);
    }
}
